package com.tianqu.tms.dao;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.SequenceDto;

public interface SequenceDao {
	
	/**
	 * 在序列表中载入最新serial
	 * @return
	 * @throws TmsDaoException
	 */
	public SequenceDto getSerial(int type)throws TmsDaoException;
	
	/**
	 * 对序列表进行更新
	 * @throws TmsDaoException
	 */
	public void updateSerial(int type,int nowSerial)throws TmsDaoException;
}
